var createFetchQuery = function() {
	var args = {
		timeout : 15000,
		delay : 1000,
		key : 'posts/all',
		onSuccess : function(response) {
			if (this == window.delicious)
				canvasRotater.setIcon($('logged_in'));
			this.notifyLogin();
			this.fetchCallback({
						result : 'success',
						response : response,
						loginId : args.job.id
					});
			this.lastFetch = new Date();
			this.lastFetch.setISO8601(xmlDoc.evaluate('/updates/@time', xmlDoc)
					.iterateNext().value);
		},
		onError : function(response) {
			if (this == window.delicious)
				canvasRotater.setIcon($('not_logged_in'));
			this.fetchCallback({
						result : 'failed',
						response : response,
						loginId : args.job.id
					});
		},
		onTimeout : function() {
			if (this == window.delicious)
				canvasRotater.setIcon($('not_logged_in'));
			this.fetchCallback({
						result : 'timeout',
						loginId : args.job.id
					});
		}
	};
	return args;
};